package br.com.filter;

import br.com.domain.Perfil;


public class UsuarioFilter extends Filter{
	
	/**************************************************************************/
	/**                             ATRIBUTOS                                **/
	/**************************************************************************/	
    
	private static final long serialVersionUID = 1L;
	private Integer id;
	private String nome;    
	private String login;
	private String senha;
	private Boolean fixo;
	private Perfil perfil = new Perfil();
	private String senhaNova;
	private String senhaConfirmar;
	
	/********************************************************************/
	/**                          GET's E SET's                         **/
	/********************************************************************/
	
	
	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getNome() {
		return nome;
	}

	public void setNome(String nome) {
		this.nome = nome;
	}

	public String getLogin() {
		return login;
	}

	public void setLogin(String login) {
		this.login = login;
	}

	public String getSenha() {
		if (senha == null)
			senha = "";
		return senha;
	}

	public void setSenha(String senha) {
		this.senha = senha;
	}

	public Perfil getPerfil() {
		return perfil;
	}

	public void setPerfil(Perfil perfil) {
		this.perfil = perfil;
	}

	public String getSenhaConfirmar() {
		if (senhaConfirmar == null)
			senhaConfirmar = "";
		return senhaConfirmar;
	}

	public void setSenhaConfirmar(String senhaConfirmar) {
		this.senhaConfirmar = senhaConfirmar;
	}

	public String getSenhaNova() {
		if (senhaNova == null)
			senhaNova = "";
		return senhaNova;
	}

	public void setSenhaNova(String senhaNova) {
		this.senhaNova = senhaNova;
	}
	
	public Boolean getFixo() {
		return fixo;
	}

	public void setFixo(Boolean fixo) {
		this.fixo = fixo;
	}
	

	/********************************************************************/
	/**                EQUALS E HASH CODE  - RETIRAR LIST's            **/
	/********************************************************************/


	

}